import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)
export default pinia

// import { useUserStore } from './modules/user'
// export { useUserStore }

export * from './modules/user' //接收user模块所有 按需导出 等价于上面的写法
export * from './modules/article'
